import {axiosD, axiosG, axiosM, axiosP} from "@/api";

/**
 * @description 订单
 * */
export const pageExpressOrderApi = data => axiosG("expressOrder/pageExpressOrder", data); // 分页获得快递单
export const listByNameApi = data => axiosG("expressOrder/listByName", data); // 通过名字获得单号列表
export const delExpressOrderApi = data => axiosD("expressOrder/delExpressOrder", data); // 删除快递单
export const getUsableApi = data => axiosG("expressOrder/getUsable", data); // 获得最小的可用单号
export const updateExpressOrderApi = data => axiosP("expressOrder/updateExpressOrder", data); // 添加快递单
export const updateExpressOrderHaveSonApi = data => axiosP("expressOrder/updateExpressOrderHaveSon", data); // 添加有子单快递单
export const pageCustomsFeeApi = data => axiosG('expressOrder/pageCustomsFee', data); // 分页获得报关费列表
export const hiddenOrderApi = data => axiosM('expressOrder/hiddenOrder', data); // 隐藏订单搜索

/**
 * @description 品牌
 * */
export const listBrandApi = data => axiosG("expressOrder/listBrand", data); // 模糊搜索品牌列表

/**
 * @description 网点资金参数
 * */
export const getFundApi = data => axiosG('fund/getFund', data); // 获得网点资金

/**
 * @description 验货
 * */
export const examineApi = data => axiosP('expressOrder/examine', data); // 验货接口
